package entity;

import java.sql.Timestamp;

public class WarningRecord {
    private int id;
    private String warningType;
    private String description;
    private Timestamp createdAt;
    private int status;

    // Constructor
    public WarningRecord(int id, String warningType, String description, Timestamp createdAt, int status) {
        this.id = id;
        this.warningType = warningType;
        this.description = description;
        this.createdAt = createdAt;
        this.status = status;
    }

    // Getters and Setters
    public int getId() {
        return id;
    }

    public String getWarningType() {
        return warningType;
    }

    public String getDescription() {
        return description;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public int getStatus() {
        return status;
    }
}
